package com.boang.entity.PO;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName parkingspot
 */
@TableName(value = "parkingspot")
@Data
public class Parkingspot {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String spotNumber;

    private String spotStatus;

    private String spotType;

    private BigDecimal area;

    private String parkingLotName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;
    @TableField(value = "gmt_modified", fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtModified;
    @TableLogic
    private Integer isDeleted;
    @TableField(exist = false)
    private int pageNum;
    @TableField(exist = false)
    private int pageSize;
}